//
//  SEGPictorialModel.m
//  ExcellentHome
//
//  Created by Sam on 16/8/22.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import "SEGPictorialModel.h"

@implementation SEGPictorialModel
- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _pictorialId = @"";
        _weight = @"";
        _source = @"";
        _linkMode = @"";
        _pictorialTitle = @"";
        _img = @"";
        _labDesc = @"";
        _pictorialDesc = @"";
        _quizTypeTitle = @"";
        _type = @"";
        _quizTypeId = @"";
        _newPictorialPic = @"";
        _commentTotal = @"";
        _isRecommend = @"";
        _pictorialStyle = @"";
        _browseTotal = @"";
        _praiseTotal = @"";
        _lab = @"";
        _createTime = @"";
        _isPraise = @"";
        _author = @"";
        _url = @"";
        _linkDetail = @"";
        _linkModules = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{
}
- (void)setPictorialId:(NSString*)pictorialId
{
    _pictorialId = [[SEGUtils ValueToString:pictorialId] copy];
}
- (void)setWeight:(NSString*)weight
{
    _weight = [[SEGUtils ValueToString:weight] copy];
}
- (void)setSource:(NSString*)source
{
    _source = [[SEGUtils ValueToString:source] copy];
}
- (void)setLinkMode:(NSString*)linkMode
{
    _linkMode = [[SEGUtils ValueToString:linkMode] copy];
}
- (void)setPictorialTitle:(NSString*)pictorialTitle
{
    _pictorialTitle = [[SEGUtils ValueToString:pictorialTitle] copy];
}
- (void)setImg:(NSString*)img
{
    _img = [[SEGUtils ValueToString:img] copy];
}
- (void)setLabDesc:(NSString*)labDesc
{
    _labDesc = [[SEGUtils ValueToString:labDesc] copy];
}
- (void)setPictorialDesc:(NSString*)pictorialDesc
{
    _pictorialDesc = [[SEGUtils ValueToString:pictorialDesc] copy];
}
- (void)setQuizTypeTitle:(NSString*)quizTypeTitle
{
    _quizTypeTitle = [[SEGUtils ValueToString:quizTypeTitle] copy];
}
- (void)setType:(NSString*)type
{
    _type = [[SEGUtils ValueToString:type] copy];
}
- (void)setQuizTypeId:(NSString*)quizTypeId
{
    _quizTypeId = [[SEGUtils ValueToString:quizTypeId] copy];
}
- (void)setNewPictorialPic:(NSString*)newPictorialPic
{
    _newPictorialPic = [[SEGUtils ValueToString:newPictorialPic] copy];
}
- (void)setCommentTotal:(NSString*)commentTotal
{
    _commentTotal = [[SEGUtils ValueToString:commentTotal] copy];
}
- (void)setIsRecommend:(NSString*)isRecommend
{
    _isRecommend = [[SEGUtils ValueToString:isRecommend] copy];
}
- (void)setPictorialStyle:(NSString*)pictorialStyle
{
    _pictorialStyle = [[SEGUtils ValueToString:pictorialStyle] copy];
}
- (void)setBrowseTotal:(NSString*)browseTotal
{
    _browseTotal = [[SEGUtils ValueToString:browseTotal] copy];
}
- (void)setPraiseTotal:(NSString*)praiseTotal
{
    _praiseTotal = [[SEGUtils ValueToString:praiseTotal] copy];
}
- (void)setLab:(NSString*)lab
{
    _lab = [[SEGUtils ValueToString:lab] copy];
}
- (void)setCreateTime:(NSString*)createTime
{
    _createTime = [[SEGUtils ValueToString:createTime] copy];
}
- (void)setIsPraise:(NSString*)isPraise
{
    _isPraise = [[SEGUtils ValueToString:isPraise] copy];
}
- (void)setAuthor:(NSString*)author
{
    _author = [[SEGUtils ValueToString:author] copy];
}

- (void)setUrl:(NSString*)url
{
    _url = [[SEGUtils ValueToString:url] copy];
}

- (void)setLinkDetail:(NSString*)linkDetail
{
    _linkDetail = [[SEGUtils ValueToString:linkDetail] copy];
}
- (void)setLinkModules:(NSString*)linkModules
{
    _linkModules = [[SEGUtils ValueToString:linkModules] copy];
}

-(void)setLevelUrl:(NSString *)levelUrl{
    _levelUrl =  [[SEGUtils ValueToString:levelUrl] copy];
}
@end
